Tag Info

New answers tagged

1

You can do it : rdr pass quick on $ext_inf inet proto tcp from any to any port 1394 -> $target port 1394


1

As indicated on the website the actual code is available via GitHub for you to look at. https://www.pfsense.org/get-involved/ https://github.com/pfsense/ The other choice is to examine the relevant web server configuration file to find the location the web front-end files so that you can track down other relevant files to modify for your project (I've ...


-1

You can set the language environment to Russian. M-x set-language-environment If you than open your file it should be readable.


0

Any answer will depend on what you can actually know about your input. If you know you want the second bar3 surrounded by <font>, you could do: perl -pe 's#(.*bar3.*)(bar3)#$1<font style=BACKGROUND-COLOR:red>$2</font>#' file or sed 's#\(.*bar3.*\)\(bar3\)#\1<font style=BACKGROUND-COLOR:red>\2</font>#' file or, with GNU ...


0

You have installed firefox for openbsd 5.7. but your system is 5.6 Do remove wrong firefox version and add proper one from 5.6 pkg tree


2

I think you're looking for authpf. http://www.openbsd.org/faq/pf/authpf.html Authpf(8) is a user shell for authenticating gateways. An authenticating gateway is just like a regular network gateway (a.k.a. a router) except that users must first authenticate themselves to the gateway before it will allow traffic to pass through it. When a user's shell is ...


0

Firewalls generally look at network packets. They can see where packets come from, but unless it's somehow revealed by packet introspection, they don't know who is responsible for those packets. You could start with everything locked down for everyone, and then add in authenticated access as needed. e.g. via an authenticated proxy which all external web ...


0

I have a feeling you might have installed the wrong package. pkg_delete the current package and pkg_add the correct one. `man pkg_add’ for details.


1

The following should work on any system with Perl: perl -pe 's/(>.*)(bar3)(.*<\/a>)/$1<font style=BACKGROUND-COLOR:red>$2<\/font>$3/' At least it does the right thing on your example file; the regexp in s/regexp/replacement/ asks to match bar3 between > and </a>, as you asked, but if your real-world HTML input is more complex ...


0

This solution requires the GNU version of awk... awk '{ print gensub(/(>.*)(bar3)(.*<\/a>)/,"\\1<font style=BACKGROUND-COLOR:red>\\2</font>\\3","g") }' yourfile.html


0

I can't give you a general plan and then hopefully someone else can fill in the details. It looks like you're going to need to do the following: Create a chroot Somehow allow only one interface to it. Then look at packet queuing for that interface or write your pf rules on that interface. Honestly, I think it'd be easier with FreeBSD jails, but your ...


0

Try awk -v pattern="bar3" 'match($0, pattern){ beg = index( $0, ">") content = gensub(/<.*$/, "", "", gensub(/^[^>]+>/, "", "", $0)) beg_str = index( content, pattern) if (match (content, pattern)) { print substr($0, 0, beg) substr(content, 0, beg_str - 1) "<fontstyle=BACKGROUND-COLOR:red>" substr(content, beg_str, ...


0

Assuming you are talking about workstations “behind” the OpenBSD box, you’ll want to add the workstations’ IP addresses to a pf table and create appropriate rules that reference this table. `man pf.conf’ for details. As for layer 2 access, you might want to elaborate a bit more here in terms of your requirements.


0

I had run into the same issue while following blogged instructions. It turned out, the command I was using was incorrectly formatted. My mistake, pkg_add -lv software the tags after - should have been an uppercase I and a lower case v instead of a lowercase L and a lowercase v. This occurred through a misinterpretation with the fonts used on the instructions ...



Top 50 recent answers are included